<input type="number" id="{$field.unique}" class="form-control" name="{$field.field}" value="{$field.value}" {eq name='field.config.readonly' value='1'} readonly{/eq} {eq name='field.config.disabled' value='1'} disabled{/eq}/>